package com.css.zfzx.sjcj.modules.pchjdzb.repository.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * @Description: zfzx-wxqh
 * @Author: lhl
 * @CreateDate: 2022/4/24 17:14
 */
@Data
@Entity
@Table(name="pc_hj_dzb")
public class PcHjDzbEntity implements Serializable {
    @Id
    @Column(name="uuid")
    private String uuid;
    /**
     * 省
     */
    @Column(name="province")
    private String province;

    /**
     * 市
     */
    @Column(name="city")
    private String city;

    /**
     * 区县
     */
    @Column(name="area")
    private String area;

    /**
     * 创建时间
     */
    @Column(name="create_time")
    @JsonFormat(pattern="yyyy-MM-dd",timezone="GMT+8")
    private Date createTime;

    /**
     * 1:PGA，2:矢量点，3:矢量面，4:重点隐患fw
     */
    @Column(name="data_type")
    private String dataType;

    /**
     * 扩展字段
     */
    @Column(name="extends1")
    private String extends1;

    /**
     * 扩展字段
     */
    @Column(name="extends2")
    private String extends2;
}
